package com.j3a.journal.beanservice;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.j3a.journal.beandao.IArticleDao;
import com.j3a.journal.generic.IDaoGeneric;
import com.j3a.journal.generic.ServiceGeneric;
import com.j3a.journal.model.Article;

@Service( "articleService" )
public class ArticleService extends ServiceGeneric<Article, Integer> implements IArticleService {

    @Autowired
    private transient IArticleDao articleDao;

    public ArticleService() {
    }

    @Override
    public IDaoGeneric<Article, Integer> getDAO() {
        // TODO Auto-generated method stub
        return this.articleDao;
    }

}
